using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class GamePanel : MonoBehaviour
{
    public Button restartButton;
    public Text levelText;
    

    void Start()
    {

        levelText.text = PlayerPrefs.GetInt(Const.Level, 1).ToString();
    }


    public void OnRestartClick()
    {
        SceneManager.LoadScene(SceneManager.GetActiveScene().name);
    }
}
